﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TemplatesPrint.DBHelper;

namespace TemplatesPrint.Entitys
{
    public class BaseEntity
    {
        public BaseEntity()
        {
            //SQLiteHelper.GetInstance().CodeFirst.BackupTable().SetStringDefaultLength(500).InitTables(GetType());
        }
        [SugarColumn(IsNullable = true, IsOnlyIgnoreUpdate = true)]
        public string CreateTime { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
        [SugarColumn(IsNullable = true)]
        public string UpdateTime { get; set; }
        [SugarColumn(IsNullable = true)]
        public string IsUpLoad { get; set; }
    }
}
 